.login_bg {
  width: 100%;
  height: 100vh;
  background: #fff;
  display: flex;
}
.login_adv {
  width: 33.33333%;
  background-color: #555;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  background-image: url('@/assets/images/login.jpg');
}
.login_adv__title {
  color: #fff;
  padding: 40px;
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  z-index: 2;
  h2 {
    font-size: 40px;
  }
  h4 {
    font-size: 18px;
    margin-top: 10px;
    font-weight: normal;
  }
  p {
    font-size: 14px;
    margin-top: 10px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
  }
  div {
    margin-top: 10px;
    display: flex;
    align-items: center;
    span {
      margin-right: 15px;
    }
    i {
      font-size: 40px;
      &.add {
        font-size: 20px;
        color: rgba(255, 255, 255, 0.6);
      }
    }
  }
}
.login_adv__mask {
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}
.login_adv__bottom {
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: 0px;
  color: #fff;
  padding: 40px;
  background-image: linear-gradient(transparent, #000);
  z-index: 3;
}
.login_main {
  flex: 1;
  overflow: auto;
  display: flex;
}
.login-form {
  width: 400px;
  margin: auto;
  padding: 20px 0;
  .el-divider {
    margin-top: 40px;
  }
  &:deep(.el-tabs) {
    .el-tabs__header {
      margin-bottom: 25px;
      .el-tabs__item {
        font-size: 14px;
      }
    }
  }
  &:deep(.login-forgot) {
    text-align: right;
    a {
      color: var(--el-color-primary);
      &:hover {
        color: var(--el-color-primary-light-3);
      }
    }
  }
  &:deep(.login-msg-yzm) {
    display: flex;
    width: 100%;
    .el-button {
      margin-left: 10px;
      --el-button-size: 42px;
    }
  }
}
.login-header {
  margin-bottom: 40px;
  .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    img {
      width: 40px;
      height: 40px;
      vertical-align: bottom;
      margin-right: 10px;
    }
    label {
      font-size: 36px;
      font-weight: bold;
    }
  }
}
.login-oauth {
  display: flex;
  justify-content: space-around;
}
.login_config {
  position: absolute;
  top: 20px;
  right: 20px;
}
.qrCodeLogin {
  text-align: center;
  position: relative;
  img {
    &.qrCode {
      background: #fff;
      border-radius: 10px;
    }
  }
  p {
    &.msg {
      margin-top: 15px;
    }
  }
  .qrCodeLogin-result {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    background: var(--el-mask-color);
  }
}

@media (max-width: 1200px) {
  .login-form {
    width: 340px;
  }
}

@media (max-width: 1000px) {
  .login_main {
    display: block;

    .login_config {
      position: static;
      padding: 20px 20px 0 20px;
      text-align: right;
    }

    .login-form {
      width: 100%;
      padding: 20px 40px;
    }

    .login_adv {
      display: none;
    }
  }
}
